NOTE

The string is copied with strcpy(), you must assure that the destination points to enough memory.